package com.shensi.adminCollect.domain.fleet.form;

import com.shensi.adminCollect.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import javax.validation.constraints.NotEmpty;

@ApiModel
public class FleetCardSubAddForm {

    @ApiModelProperty(value = "主卡id", position = 1)
    @NotEmpty(message = "主卡id不能为空")
    private Long fleetCardId;

    @ApiModelProperty(value = "姓名", position = 1)
    @NotEmpty(message = "姓名不能为空")
    private String name;

    @ApiModelProperty(value = "车牌号", position = 1)
    private String truckNumber;

    @Excel(name = "手机号")
    @NotEmpty(message = "手机号不能为空")
    @ApiModelProperty(value = "手机号", position = 2)
    private String phone;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTruckNumber() {
        return truckNumber;
    }

    public void setTruckNumber(String truckNumber) {
        this.truckNumber = truckNumber;
    }

    public Long getFleetCardId() {
        return fleetCardId;
    }

    public void setFleetCardId(Long fleetCardId) {
        this.fleetCardId = fleetCardId;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }
}
